'''
Created on 29-05-2012

@author: Magda
'''

class Product(object):
    '''
    classdocs
    '''
    name = ""
    producer = ""
    measure = ""
    category = ""
    quantity = 0
    price = 0
    id = 1


    def __init__(self,name,producer,category,measure,price,quantity):
        '''
        Constructor
        '''
        self.producer = producer
        self.measure = measure
        self.category = category
        self.name = name
        self.quantity = quantity
        self.price = price
        
    def setId(self,id):
        self.id= id

    def save(self):
        '''
        zapisuje product do bazy
        '''
        pass
